package com.xs.langchain4j_springboot.test;

import dev.langchain4j.agent.tool.P;
import dev.langchain4j.agent.tool.Tool;

public class WeatherTools {

    @Tool("Returns the weather forecast for a given city")
    String getWeather(
            @P("The city for which the weather forecast should be returned") String city
    ) {

        return city + "的天气是：大晴天";
    }
}
